<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Box Model</title>
    <style>
        div#d1 {
            width: 250px;
            height: 100px;
            background-color: #ff0000;
            border: 1px solid #000;
        }

        div#d2 {
            width: 250px;
            height: 100px;
            background-color: #ff0000;
            border: 5px solid #000;
            margin: 10px;
            padding: 10px;
        }
    </style>
</head>
<body>
    <div id="d1"></div>
    <div id="d2"></div>
</body>
</html>
